package com.pk.platform.business.common.dao.impl;

import java.util.List;
import java.util.Map;

import com.pk.platform.business.common.dao.IArrangeDao;
import com.pk.platform.business.core.dao.impl.GenericDaoImpl;

public class ArrangeDaoImpl extends GenericDaoImpl implements IArrangeDao {

	public List<Map<String, Object>> queryChildArrangeByTimeOfChild(String childId,
			String start, String end) {
		String sql = "select * from child_arrange ca where ca.childId = ? and ca.arrangeDate >= ? and ca.arrangeDate <= ?";
		return this.getSjt().queryForList(sql, new Object[]{childId, start, end});
	}

}
